package com.starry.module.system.core.tenant.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starry.db.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * 系统租户套餐-实体
 *
 * @author xiaoke
 */
@Schema(description = "系统租户套餐实体")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_tenant_package")
public class SysTenantPackage extends BaseEntity {

    /**
     * 租户套餐id
     */
    @TableId
    private Long id;

    /**
     * 套餐名
     */
    @Schema(description = "套餐名")
    private String name;
    /**
     * 租户状态（0正常 1停用）
     */
    @Schema(description = "租户状态（0正常 1停用）")
    private Integer status;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 关联的菜单编号
     */
    @Schema(description = "关联的菜单编号")
    private String menuIds;
}

